package com.zh.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.web.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_file")
@ApiModel("文件存储实体类")
@Builder(toBuilder = true)
public class SysFile extends BaseModel {
    @ApiModelProperty("主键")
    @TableId
    private Long id;
    @ApiModelProperty("文件名")
    private String fileName;
    @ApiModelProperty("文件大小")
    private Double fileSize;
    @ApiModelProperty("文件地址")
    private String url;
    @ApiModelProperty("文件md5")
    private String md5;
    @ApiModelProperty("文件类型")
    private String type;
}

